Step 1 of 3: Creating an Application with C1DateTime Selector Control
In This Topic
In this step, you'll begin in Visual Studio to create a UWP-style application using C1DateTimeSelector for UWP.
Complete the following steps:
- In Visual Studio, Select File | New | Project.
- Select Templates | Visual C# | Windows | Universal. From the templates list, select Blank App (Universal Windows). Enter a Name and click OK to create your project.
- Open MainPage.xaml if it isn't already open, place the cursor between the <Grid> and </Grid> tags, and click once.
- Navigate to the Toolbox and double-click the C1DateTimeSelector icon to add the control to the grid. The XAML markup resembles the following:
Markup |
Copy Code
|
<Grid Background="{ThemeResource ApplicationPageBackgroundThemeBrush}" x:Name="LayoutRoot">
<Xaml:C1DateTimeSelector HorizontalAlignment="Left" VerticalAlignment="Top"/>
</Grid>
|
You have successfully created a UWP-style application containing a C1DateTimeSelector control. In the next step, you will modify the appearance of the control.
See Also